package com.zh.freechat.common;

import net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat;
import net.sourceforge.pinyin4j.format.HanyuPinyinToneType;

/**
 * @author Zhou
 * @date 21:59 2023/12/11
 */
public class CustomConst {

    /* MQ相关的*/
    public static final String MsgDataSaveQueue = "chat_message_save_queue";
    public static final String MsgOfflineQueue = "chat_message_offline_queue";
    public static final String MsgStatusQueue = "chat_message_status_queue";


    /**
     * 待处理
     */
    public static final int friend_relation_unagreed = 0;
    /**
     * 已同意
     */
    public static final int friend_relation_agreed = 1;
    /**
     * 已拒绝
     */
    public static final int friend_relation_refuse = 2;


    public static final HanyuPinyinOutputFormat PINYIN_FORMAT;

    static {
        PINYIN_FORMAT = new HanyuPinyinOutputFormat();
        PINYIN_FORMAT.setToneType(HanyuPinyinToneType.WITHOUT_TONE);
    }

}
